﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Master/MasterPage.master" CodeBehind="SubscribeMessage.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.SubscribeMessage" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="../Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                地区名称：
                            </td>
                            <td align="left" class="style1">
                                <asp:TextBox ID="txtSortInfo" MaxLength="25" runat="server" Width="213px"></asp:TextBox>
                            </td> 
                            <td align="right" class="style2">
                                订阅类型：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="DropDownList1" runat="server" Height="20px" Width="162px">
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn"
                        SkinID="search" ToolTip="点击查询符合条件的数据" onclick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwMessage" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无有效的信息！" >
        
        <Columns>
            <asp:BoundField HeaderText="序号" DataField="hospital" />
            <asp:TemplateField  HeaderText="类型">
             <ItemTemplate>
                    <asp:Label ID="lblsortname" runat="server" Text='<%#Eval("SortName")%>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                  ad
                    <asp:TextBox ID="txtsortname" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.SortName") %>'
                        Width="200px"></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>   
           <%-- <asp:TemplateField HeaderText="选择地区">
            <EditItemTemplate>
            <asp:TextBox ID="txtArea" runat="server" Width="200px"></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                 <input id="btnSelectArea" type="button" value="选择地区" style="width:30px" class="btn" onclick="window.open('../Common/SelectArea.aspx','selectReciever','width=300,height=420,resizable=0,scrollbars=0, status=0, toolbar=0, menubar=0');" />
                 <input id="btnSelectArea2" type="button" value="选择地区" style="width:30px" class="btn" onclick="window.showModalDialog('../Common/SelectArea.aspx','selectReciever','width=300,height=420,resizable=0,scrollbars=0, status=0, toolbar=0, menubar=0');" />
            </ItemTemplate>
            </asp:TemplateField>--%>
           <%-- <asp:TemplateField HeaderText="操作">
            <ItemTemplate>
                    <asp:LinkButton ID="lbnEdit" runat="server" CommandName="Edit"  OperateType="编辑"
                        Text="修改"></asp:LinkButton>                 
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:LinkButton ID="lbnUpdate" runat="server" CausesValidation="True" CommandName="Update"
                        Text="更新" />
                    <asp:LinkButton ID="lbnCancel" runat="server" CausesValidation="False" CommandName="Cancel"
                        Text="取消" />
                </EditItemTemplate>
            </asp:TemplateField>  --%>       
          <%--  <asp:TemplateField HeaderText="是否订阅">
                <ItemTemplate>
                    <asp:Button ID="btnOk" runat="server" CssClass="btn" Text="订阅" />
                    <asp:Button ID="btnNo" runat="server" CssClass="btn" Text="取消订阅" />
                </ItemTemplate>
            </asp:TemplateField>--%>
            <asp:TemplateField HeaderText="详细规则">
                <ItemTemplate>
                    <a href="">详细规则
                    </a>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
     <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" 
             onpagechanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    </asp:Content>

<asp:Content ID="Content3" runat="server" contentplaceholderid="head">

    <style type="text/css">
        .style1
        {
            width: 117px;
        }
        .style2
        {
            width: 111px;
        }
    </style>

</asp:Content>


